package com.kg.sdk.activity;

import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;

import com.kg.sdk.Density;
import com.kg.sdk.dlg.WaitingDialog;

public class KPCommonActivity extends Activity {
    protected WaitingDialog mWaitingDialog;
    public void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        Density.setDefault(this);
        mWaitingDialog = new WaitingDialog(this);
    }

    public void onDestroy(){
        super.onDestroy();
        if(mWaitingDialog != null){
            mWaitingDialog.closeDialog();
        }
    }

    public void onConfigurationChanged(Configuration newConfig){
        super.onConfigurationChanged(newConfig);
    }

	public void onRequestPermissionsResult(int requestCode,
			String[] permissions, int[] grantResults) {
		// TODO Auto-generated method stub
		
	}

}
